<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/catalog"%>
<div id="productInfo"  class="tabInfo">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">

<%---==================产品名称=================---%>
<tr>
	<td width="20">
		<input type="checkbox" id="nameCheck" name="nameCheck" value="1"/>
	</td>
	<td width="120">
		<fmt:message key="product.productName" />:
	</td>
	<td>
		<div>
			<input type="radio" id="nameMethod2" name="nameMethod" value="2" checked><fmt:message key="unitiveBulkEdit.method.add"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<fmt:message key="unitiveBulkEdit.method.add.prefix"/><span><input id="namePrefix" name="namePrefix" style="width:150px" class="inputtxt"/></span>&nbsp;&nbsp;&nbsp;
			<fmt:message key="unitiveBulkEdit.method.add.suffix"/><span><input id="nameSuffix" name="nameSuffix" style="width:150px" class="inputtxt"/></span>
		</div>
		<br/>
		<div>		
			<input type="radio" id="nameMethod3"  name="nameMethod" value="3"><fmt:message key="unitiveBulkEdit.method.findAndReplace"/>
			<fmt:message key="unitiveBulkEdit.method.find"/><span><input id="nameFindAndReplaceOldString" name="nameFindAndReplaceOldString" style="width:150px" class="inputtxt"/></span>
			<fmt:message key="unitiveBulkEdit.method.replace"/><span><input id="nameFindAndReplaceNewString" name="nameFindAndReplaceNewString" style="width:150px" class="inputtxt"/></span>
		</div>
	</td>
</tr>


<%---==================目录=================---%>
<tr>
	<td>
		<input type="checkbox" id="categoryCheck" name="categoryCheck" value="1"/>
	</td>
	<td>
		<fmt:message key="productList.productCategory" />:
	</td>
	<td>
		<span id="categoryName"></span>
		<a href="javascript:void(0)" onclick="selectCategory();return false;"><fmt:message key="productForm.selectCategory"/></a>
		<input type="hidden" id="categoryId" name="categoryId" value=""/>
	</td>
</tr>


<%---==================产品状态=================---%>
<tr>
	<td>
		<input type="checkbox" id="statusCheck" name="statusCheck" value="1"/>
	</td>
	<td>
		<fmt:message key="product.status" />:
	</td>
	<td>
		<select id="status" name="status">
			<option value="1">
				<fmt:message key="product.status_1" />
			</option>
			<option value="0">
				<fmt:message key="product.status_0" />
			</option>
		</select>
	</td>
</tr>


<%---==================销售计量单位=================---%>
<tr>
	<td>
		<input type="checkbox" id="salesMeasureUnitNameCheck" name="salesMeasureUnitNameCheck" value="1"/>
	</td>
	<td>
		<fmt:message key="product.salesMeasureUnitName" />:
	</td>
	<td>
		<input type="text" id="salesMeasureUnitName" name="salesMeasureUnitName" style="width:150px" class="inputtxt"/>
	</td>
</tr>

<%---==================最少起订量=================---%>
<tr>
	<td>
		<input type="checkbox" id="minOrderQuantityCheck" name="minOrderQuantityCheck" value="1"/>
	</td>
	<td>
		<fmt:message key="product.minOrderQuantity" />:
	</td>
	<td>
		<input type="text" id="minOrderQuantity" name="minOrderQuantity" style="width:150px" class="inputtxt"/>
	</td>
</tr>



<%---==================品牌=================---%>
<tr>
	<td>
		<input type="checkbox" id="brandCheck" name="brandCheck" value="1"/>
	</td>
	<td>
		<fmt:message key="product.brandId" />:
	</td>
	<td>
		<select id="brandId" name="brandId" style="width:150px" class="selecttxt">
			<option value=""><fmt:message key="unitiveBulkEdit.brand.null"/></option>
			<c:forEach items="${brandList}" var="brand">
			<option value="${brand.brandId}">${brand.brandName}
			</option>
			</c:forEach>
		</select>
		<probiz:plugin_tip id="brandId_tip"><fmt:message key="unitiveBulkEdit.brand.condition"/></probiz:plugin_tip>
	</td>
</tr>

<%---==================关键字=================---%>
<tr>
	<td>
		<input type="checkbox" id="keywordsCheck" name="keywordsCheck" value="1"/>
	</td>
	<td>
		<fmt:message key="product.keywords" />:
	</td>
	<td>
		<div>
			<input type="radio" id="keywordsMethod1" name="keywordsMethod" value="1" checked><fmt:message key="unitiveBulkEdit.method.direct"/>&nbsp;&nbsp;
			<span><input id="keywords" name="keywords" size="25" style="width:150px" class="inputtxt"/></span>
		</div>
		<br/>
		<div>
			<input type="radio" id="keywordsMethod2" name="keywordsMethod" value="2" ><fmt:message key="unitiveBulkEdit.method.add"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	
			<fmt:message key="unitiveBulkEdit.method.add.prefix"/><span><input id="keywordsPrefix" name="keywordsPrefix" style="width:150px" class="inputtxt"/></span>&nbsp;&nbsp;&nbsp;
			<fmt:message key="unitiveBulkEdit.method.add.suffix"/><span><input id="keywordsSuffix" name="keywordsSuffix" style="width:150px" class="inputtxt"/></span>
		</div>
		<br/>
		<div>		
			<input type="radio" id="keywordsMethod3"  name="keywordsMethod" value="3"><fmt:message key="unitiveBulkEdit.method.findAndReplace"/>
			<fmt:message key="unitiveBulkEdit.method.find"/><span><input id="keywordsFindAndReplaceOldString" name="keywordsFindAndReplaceOldString" style="width:150px" class="inputtxt"/></span>
			<fmt:message key="unitiveBulkEdit.method.replace"/><span><input id="keywordsFindAndReplaceNewString" name="keywordsFindAndReplaceNewString" style="width:150px" class="inputtxt"/></span>
		</div>
	</td>
</tr>


</table>
</div>

